package com.scholarship.modules.backend.mapper;

import com.scholarship.modules.backend.entity.RewardTypeDetail;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhz
 * @date 2021/5/10 16:22
 * 备注：针对奖学金具体加分项表的增删改查
 */
@Repository
public interface RewardTypeDetailMapper {
    //列出所有信息
    List<RewardTypeDetail> listRewardTypeDetail();

    //列出某个信息
    RewardTypeDetail getRewardTypeDetail(Integer id);

    //增加某个信息
    Integer addRewardTypeDetail(RewardTypeDetail rewardTypeDetail);

    //修改某个信息
    Integer updateRewardTypeDetail(RewardTypeDetail rewardTypeDetail);

    //删除某个信息
    Integer deleteRewardTypeDetail(Integer id);
}
